package com.group02.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.group02.community.entity.dict.SysDictData;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictDataMapper extends BaseMapper<SysDictData> {

    /**
     * 根据种类获取字典数据
     * @param type
     * @return
     */
    List<SysDictData> selectDataByDictType(String type);
}
